import gcRequest from '..'
import { categorysRes } from './types'

export const getCategorys = () => {
  return gcRequest.get<categorysRes.RootObject>({
    url: '/category'
  })
}
